/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.VipServiceGift;

public interface VipServiceGiftDao extends Dao {

    /**
     * Retrieves all of the vipServiceGifts
     */
    public List getVipServiceGifts(VipServiceGift vipServiceGift);

    /**
     * Gets vipServiceGift's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the vipServiceGift's id
     * @return vipServiceGift populated vipServiceGift object
     */
    public VipServiceGift getVipServiceGift(final Integer id);

    /**
     * Saves a vipServiceGift's information
     * @param vipServiceGift the object to be saved
     */    
    public int saveVipServiceGift(VipServiceGift vipServiceGift);

    /**
     * Removes a vipServiceGift from the database by id
     * @param id the vipServiceGift's id
     */
    public void removeVipServiceGift(VipServiceGift vipServiceGift);
}

